package com.atom.wifiupload.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * ============================================================
 * project: WIFI-Upload
 * package: com.atom.wifiupload.bean
 * fileDescribe:
 * user: admin
 * email: 1299854942@qq.com
 * createTime: 2017/6/24  12:08
 * modify:
 * version:: V1.0
 * ============================================================
 **/
@Entity
public class FileBean {

    @Id(autoincrement = true)
    private Long id;

    private String filename;
    private String filepath;
    private long fileSize;
    private long createTime;

    @Generated(hash = 774501637)
    public FileBean(Long id, String filename, String filepath, long fileSize,
                    long createTime) {
        this.id = id;
        this.filename = filename;
        this.filepath = filepath;
        this.fileSize = fileSize;
        this.createTime = createTime;
    }

    @Generated(hash = 1910776192)
    public FileBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilepath() {
        return this.filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public long getFileSize() {
        return this.fileSize;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public long getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

}
